package main

import (
	"demo/flutter_server/application"
	"demo/flutter_server/domain/authorization"
	"demo/flutter_server/domain/catalog"
)

var (
	authorizationService *authorization.AuthorizationService
	authController       *application.AuthController
	logController        *application.LogController
	catalogController    *application.CatalogController
)

func dependencyInjection() {
	authorizationService = authorization.NewAuthenticationService()
	catalogService := catalog.NewCatalogService()

	authController = application.NewAuthController(authorizationService)
	logController = application.NewLogController()
	catalogController = application.NewCatalogController(catalogService)
}
